package copyarr;

import java.lang.reflect.Array;
import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        int[] arr1 = {11,22,33,44,55,66,77};
        int[] arr2 = new int[arr1.length];
        for(int i=0;i<arr1.length;i++)
        {
            arr2[i] = arr1[i];
        }
        System.out.println(Arrays.toString(arr2));
    }
}
